﻿using System;

namespace SubService
{
    class Program
    {
        static void Main(string[] args)
        {
            RestTemplate rest = new RestTemplate();
            var data = rest.GetForEntityAsync<object>("http://ProductService/api/base/CheckHealth").Result;
            Console.WriteLine(data.StatusCode);
            Console.WriteLine(string.Join(",", data.Body));
            Console.ReadKey();
        }
    }




}
